package com.pap.rbac.datamodule.auto.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.rbac.datamodule.auto.entity.DataModule;;

public interface DataModuleMapper extends PapBaseMapper<DataModule> {
	int deleteByPrimaryKey(String id);

	int selectCountByMap(Map<Object, Object> map);

	List<DataModule> selectListByMap(Map<Object, Object> map);

	DataModule selectByPrimaryKeyAndTableName(@Param("id") String id,
			@Param("dynamicTableName") String dynamicTableName);

	int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

	int insert(DataModule record);

	int insertSelective(DataModule record);

	DataModule selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(DataModule record);

	int updateByPrimaryKey(DataModule record);
}